package com.ihelp.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * <p>
 * 
 * </p>
 *
 * @author LiuZiMing
 * @since 2023-05-23
 */
@Getter
@Setter
@ToString
@TableName("tbl_user")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;


    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("nickname")
    private String nickname;

    @TableField("avatar_file_name")
    private String avatarFileName;


    @TableField("username")
    private String username;

    @TableField("password")
    private String password;

    @TableField("area")
    private String area;

    @TableField("phone_number")
    private Long phoneNumber;

    @TableField("birthday")
    private String birthday;

    @TableField("personal_introduction")
    private String personalIntroduction;

    //不由用户更改内容

    @TableField("credit")
    private Double credit;

    @TableField("rate")
    private Double rate;

    @TableField("accompany_time")
    private Double accompanyTime;

    @TableField("response_time")
    private Double responseTime;

    @TableField("accompany_number")
    private Integer accompanyNumber;
}
